
cmake_minimum_required (VERSION 3.8)

project(mblast)

# set(NCBI_PTBCFG_COLLECT_REQUIRES ON)

# message(STATUS "test" "-" ${NCBI_PTBCFG_PACKAGING} "-" ${NCBI_PTBCFG_COLLECT_REQUIRES})

# include(${CMAKE_CURRENT_LIST_DIR}/../src/build-system/cmake/CMake.NCBItoolkit.cmake)

# NCBI_begin_app(test)
#   # NCBI_sources(blastp_node blastp_app)
#   add_executable(t1 "main.cpp" "main.hpp")
#   NCBI_requires(-Cygwin)
#   NCBI_requires(SQLITE3)
#   # set(SQLITE3 "t1")
#   foreach(_req IN LISTS NCBI_${NCBI_PROJECT}_REQUIRES)
#    if(${_req})
#       message(STATUS "REQUIRES: ${_req}")
#     endif()
#   endforeach()
# NCBI_end_app()


# add_executable(t1 "main.cpp" "main.hpp")

# set_property(TARGET t1 PROPERTY CXX_STANDARD 20)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(ORIG_LIBS ws2_32.lib dbghelp.lib)

message(STATUS "${ORIG_LIBS}")

set(INCLUDE_DIR_PATH "${CMAKE_CURRENT_SOURCE_DIR}/include")
message(STATUS "include dir: ${INCLUDE_DIR_PATH}")
add_subdirectory("src/util")
add_subdirectory("src/corelib")
add_subdirectory("src/serial")
add_subdirectory("src/serial/datatool")
#  D:\lab\ncbi-blast-2.15.0+-src\c++\src\algo\blast\composition_adjustment
add_subdirectory("src/algo/blast/composition_adjustment")
add_subdirectory("src/connect")



